package com.htthorizon.model.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author Brilliant
 * 消息新增
 *
 */
@Valid
@Data
public class ModelMessageAddReq {
    @ApiModelProperty(value = "个人消息1,全部消息")
    private Integer type;

    @ApiModelProperty(value = "模型ID",required=true)
//    @NotNull(message = "模型不能为空")
    private Long ModelId;

    @ApiModelProperty(value = "模型名",required=true)
//    @NotEmpty(message = "模型不能为空")
    private String ModelName;

    @ApiModelProperty(value = "消息类型",required=true)
    @NotNull(message = "消息类型不能为空")
    private Integer questionType;

    @ApiModelProperty(value = "消息标题",required=true)
    @NotEmpty(message = "消息标题不能为空")
    private String questionTitle;

    @ApiModelProperty(value = "消息内容",required=true)
    @NotEmpty(message = "消息内容不能为空")
    private String messageContext;

    @ApiModelProperty(value = "文件路径")
    private String fileUrl;

    @ApiModelProperty(value = "下一步人")
//    @NotEmpty(message = "消息接收人不能为空")
    private String sysUserName;

    private Long sysUserId;

}
